<?php


namespace app\command;


use think\console\Command;
use think\console\Input;
use think\console\Output;

class Statistics extends Command
{
    protected function configure()
    {
        $this->setName('statistics')->setDescription('Daily ranking statistics ');
    }

    protected function execute(Input $input, Output $output)
    {
        $output->writeln(controller('api/v1.Statistics')->insertLog());
    }
}